package com.ms.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ms.commons.domain.SysPermission;
import com.ms.commons.domain.SysRole;
import com.ms.commons.domain.SysUser;

import java.util.List;

/**
 * @author:SmartV
 * @date:2021/12/2 12:50
 */
public interface ISysUserService extends IService<SysUser> {
    /**
     *
     * @param id
     * @return
     */
    List<SysPermission> getPermissionByUserId(Long id);

    List<SysRole> findRoleByUserId(Long id);
}
